{* Smarty *}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="{$str.locale}">
<head>
	<title>{$title}</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" href="/css/base.css" media="all" />
</head>
<body>
	<div class="cwrap">
		{include file='base.include.exitbtn.tpl'}
		<h4>{$str.equipment}</h4>
		<table>
			<tr>
				<td>
					<form action="/" method="POST">
						<input type="hidden" name="m" value="idle" />
						<input type="submit" value="{$str.close}" />
					</form>
				</td>
				<td>
					<form action="/" method="POST">
						<input type="hidden" name="m" value="bag" />
						<input type="submit" value="{$str.bag}" />
					</form>
				</td>
			</tr>
		</table>
		<table>
			{foreach from=$items item=i}
			<tr>
				<td class="alef">
				<b>
				{if $i.slot == 1}
					{$str.head}:
				{elseif $i.slot == 2}
					{$str.body}:
				{elseif $i.slot == 3}
					{$str.leftarm}:
				{elseif $i.slot == 4}
					{$str.rightarm}:
				{elseif $i.slot == 5}
					{$str.arms}:
				{elseif $i.slot == 6}
					{$str.belt}:
				{elseif $i.slot == 7}
					{$str.legs}:
				{elseif $i.slot == 8}
					{$str.foot}:
				{/if}
				</b>
				</td>
				<td class="alef">
					{$i.title}
				</td>
				<td class="alef">
					<form action="/" method="POST">
						<input type="hidden" name="m" value="bag" />
						<input type="hidden" name="d" value="takeoff" />
						<input type="hidden" name="i" value="{$i.slot}" />
						<input type="submit" value="{$str.takeoff}" />
					</form>
				</td>
			</tr>
			{/foreach}
		</table>
	</div>
</body>
